package cn.javaxc.mvcwork.controller;
import java.sql.Timestamp;



public class TrackerElement {

  private Object userId = -1;
  private Timestamp entered = null;


  public TrackerElement() {
  }

  public TrackerElement(Object id) {
    userId = id;
    entered = new Timestamp(System.currentTimeMillis());
  }

  public Object getUserId() {
    return userId;
  }

  public void setUserId(Object userId) {
    this.userId = userId;
  }

  public Timestamp getEntered() {
    return entered;
  }

  public void setEntered(Timestamp entered) {
    this.entered = entered;
  }

}
